<?php if(!empty($dataArtistList)): ?>
	<div id="type_3" <?php echo ($artist_view_mode==3 ? '':'class="hidden"');?>>
		<?php foreach($dataArtistList as $value): ?>
		<div class="artistItem">
			<a href="<?php echo $artist_url.'summary/'.$value->artist_id."-".seo_url($value->artist_name); ?>" title="<?php echo $value->artist_name; ?>" target="_blank">
			<div class="thumb">
				<?php echo exec_image(array(
					'folder' => 'artist',
					'dimension' => '144x144',
					'file_name' => @$value->image->artist_file_name.'.'.@$value->image->artist_file_ext,
					'alt' => ''.@$value->artist_name.'',	
					'title' => ''.@$value->artist_name.''	
					)
				);?>
			</div>
			<div class="title">
				<?php echo $value->artist_name;?>
			</div>
			</a>
			</div>
		<?php endforeach; ?>
		<div class="clear"></div>
	</div>

	<div id="type_2" <?php echo ($artist_view_mode==2 ? '':'class="hidden"');?>>
		<?php foreach($dataArtistList as $value): ?>
		<div class="item">
			<a href="<?php echo $artist_url.'summary/'.$value->artist_id."-".seo_url($value->artist_name); ?>" title="<?php echo $value->artist_name; ?>" target="_blank">
			<div class="thumb">
				<?php echo exec_image(array(
					'folder' => 'artist',
					'dimension' => '85x85',
					'file_name' => @$value->image->artist_file_name.'.'.@$value->image->artist_file_ext,
					'alt' => ''.@$value->artist_name.'',	
					'title' => ''.@$value->artist_name.''	
					)
				);?>
			</div>
			</a>
			<div class="title">
				<a href="<?php echo $artist_url.'summary/'.$value->artist_id."-".seo_url($value->artist_name); ?>" title="<?php echo $value->artist_name; ?>" target="_blank"><?php echo $value->artist_name;?></a>
			<div class="detail">
			<a href="<?php echo $artist_url.'about/'.$value->artist_id."-".seo_url($value->artist_name); ?>" title="เกี่ยวกับศิลปิน" target="_blank">เกี่ยวกับศิลปิน</a> | 
			<a href="<?php echo $artist_url.'album/'.$value->artist_id."-".seo_url($value->artist_name); ?>" title="อัลบั้มเพลง" target="_blank">อัลบั้มเพลง</a> | 
			<a href="<?php echo $artist_url.'song/'.$value->artist_id."-".seo_url($value->artist_name); ?>" title="เพลงทั้งหมด" target="_blank">เพลงทั้งหมด</a> | 
			<a href="<?php echo $artist_url.'video/'.$value->artist_id."-".seo_url($value->artist_name); ?>" title="คลิปวีดีโอ" target="_blank">คลิปวีดีโอ</a> | 
			<a href="<?php echo $artist_url.'news/'.$value->artist_id."-".seo_url($value->artist_name); ?>" title="ข่าวศิลปิน" target="_blank">ข่าวศิลปิน</a> | 
			<a href="<?php echo $artist_url.'gallery/'.$value->artist_id."-".seo_url($value->artist_name); ?>" title="อัลบั้มรูป" target="_blank">อัลบั้มรูป</a>
			</div>
			</div>
		</div>
		<?php endforeach;?>
		<div class="clear"></div>
	</div>

	<div id="type_1" <?php echo ($artist_view_mode==1 ? '':'class="hidden"');?>>
		<div class="itemList">
			<ul>
		<?php foreach($dataArtistList as $value): ?>
				<li><a href="<?php echo $artist_url.'summary/'.$value->artist_id."-".seo_url($value->artist_name); ?>" title="<?php echo $value->artist_name; ?>" target="_blank"><?php echo $value->artist_name;?></a></li>
		<?php endforeach;?>
			</ul>
		</div>
		<div class="clear"></div>
	</div>

	<div class="pager">
		<?php if(!empty($pager)) echo $pager;?>
	</div>		
<?php else:?>
	<div class="empty">ขออภัย ยังไม่มีข้อมูลค่ะ</div>		
<?php endif; ?>